<?php

include_once('Usuarios_DAO.php');
include_once('DAOHandler_lib/ClassBase.php');

$usrDAO= new Usuarios_DAO();

$base= new ClassBase();


$base->setValue("cod_persona","44455");
$base->setValue("nom_persona","Diegggoooo");
$base->setValue("usuario","aleduc44");

/*$base->list_fields=array(
		"cod_persona" => "3422",
		"nom_persona" => "Hola",
		"usuario" =>"aleduc5"
		);*/


$usrDAO->insert($base);

echo json_encode($usrDAO->busqueda('aleduc'));
?>